import request from '@/utils/request'

// 商品标签列表
export function tagLists(params?: Record<string, any>) {
    return request.get({ url: '/tag/list', params })
}

// 商品标签详情
export function tagDetail(params: Record<string, any>) {
    return request.get({ url: '/tag/detail', params })
}

// 商品标签新增
export function tagAdd(params: Record<string, any>) {
    return request.post({ url: '/tag/add', params })
}

// 商品标签编辑
export function tagEdit(params: Record<string, any>) {
    return request.post({ url: '/tag/edit', params })
}

// 商品标签删除
export function tagDelete(params: Record<string, any>) {
    return request.post({ url: '/tag/del', params })
}
